home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / signal.h < prev    next >
C/C++ Source or Header  |  1989-01-09  |  469b  |  26 lines

  1. /* Copyright Manx Software Systems, Inc. 1988.  All rights reserved */
  2.  
  3. #ifndef __SIGNAL_H
  4. #define __SIGNAL_H
  5.  
  6. typedef char sig_atomic_t;
  7.  
  8. #define SIGINT    1
  9. #define SIGTERM    2
  10. #define SIGABRT    3
  11. #define SIGFPE    4
  12. #define SIGILL    5
  13. #define SIGSEGV    6
  14.  
  15. #define _NUMSIG    6
  16. #define _FSTSIG    1
  17.  
  18. #define SIG_DFL    ((void (*)(int))0)
  19. #define SIG_IGN    ((void (*)(int))1)
  20. #define SIG_ERR    ((void (*)(int))-1)
  21.  
  22. void (*signal(int _sig, void (*_func)(int)))(int);
  23. int raise(int _sig);
  24.  
  25. #endif
  26.